package com.example.admin;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @Author: zbc
 * @Description:
 * @Date: Created in 11:39 2020/9/22
 * @Modified By:
 */
@EnableEurekaClient
@EnableAdminServer
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class AppAdminServer {
    public static void main(String[] args) {
        SpringApplication.run(AppAdminServer.class, args);
    }
}
